package interfaces;

import java.sql.SQLException;
import java.util.Vector;

import basicas.Opcional;

public interface InterfaceOpcional {
	
	public abstract void cadastrarOpcional(Opcional O) 
	throws ClassNotFoundException, SQLException;
	
	public abstract void removerOpcional(int codigo) 
	throws ClassNotFoundException, SQLException;
	
	public abstract Opcional ConsultarOpcional(int codigo) 
	throws ClassNotFoundException, SQLException;
	
	public abstract Vector listarOpcional() 
	throws ClassNotFoundException, SQLException;
	
	public abstract int valorDaVersao() 
	throws ClassNotFoundException, SQLException;
	
}
